//
//  GroupTopTabView.h
//  Waiguofang
//
//  Created by waiguofang on 14-11-17.
//
//

#import <UIKit/UIKit.h>

typedef enum {
    GroupTypePast = 0,
    GroupTypeCurrent,
    GroupTypeFuthur,
}GroupType; 

@protocol GroupTopTabViewDelegate <NSObject>

- (void)cellDidSelected:(GroupType)type;

@end

@interface GroupTopTabView : UIView

- (id)initWithFrame:(CGRect)frame withTitleArray:(NSArray *)titleArray;
- (void)setSelectedIndex:(GroupType)typeIndex;

@property (nonatomic, assign) id<GroupTopTabViewDelegate>delegate;

@end
